package me.zhengjie.modules.website.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;

import javax.validation.constraints.NotBlank;

import lombok.Data;
import me.zhengjie.base.BaseEntity;

import javax.persistence.*;

/**
 * @author system
 * @since 2024-12-10 22:32:50
 */
@Entity
@Data
@Table(name = "ws_role_column")
@ApiModel(value = "UserColumn", description = " ")
public class UserColumn extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Column(name = "role_c_id")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long ucId;

    /**
     * 角色id
     */
    @Column(name = "role_id")
    private Long roleId;

    /**
     * 栏目id
     */
    @Column(name = "column_id")
    private Long columnId;

    @Transient
    private List<Long> idsList;
}